<%@ Page Language="VB" MasterPageFile ="~/Presentation/MasterPage.master" AutoEventWireup="false" CodeFile="~/Code/ChangePassword.aspx.vb" Inherits="Presentation_ChangePassword" %>
<asp:Content ContentPlaceHolderID =MainMaster runat =server>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    <form id="form1" runat="server">
    <div style="text-align: center">
        <strong>Change your Password</strong><br />
            <br />
            <br />
            
            </div>
        Enter your new Password: &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;
        <asp:Textbox TextMode =Password  ID="NewPass" runat="server" Width="216px"></asp:TextBox>    
        <asp:RegularExpressionValidator ControlToValidate = "NewPass" ID="rfvNewPass" runat="server" ErrorMessage="Only Alphanumeric symbols Allowed"
            ValidationExpression ="^[a-zA-Z0-9]*$" SetFocusOnError =true Style="z-index: 100; left: 510px; position: absolute; top: 226px"></asp:RegularExpressionValidator>
        <asp:RequiredFieldValidator ControlToValidate="NewPass" ID="RequiredFieldValidator1" runat="server" ErrorMessage="Please enter a value"></asp:RequiredFieldValidator><br />
        <br />
        Confirm your new Password: &nbsp;&nbsp; &nbsp;
        <asp:TextBox ID="ConfirmNewPass" TextMode =Password  runat="server" Width="212px"></asp:TextBox>
        <asp:RegularExpressionValidator ControlToValidate = "ConfirmNewPass" ID="rfvConfirmNewPass" runat="server" ErrorMessage="Only Alphanumeric symbols Allowed"
            ValidationExpression ="^[a-zA-Z0-9]*$" SetFocusOnError =true Style="z-index: 100; left: 512px; position: absolute; top: 269px"></asp:RegularExpressionValidator>
        <br />
        <br />
        <asp:Button ID="Button1" runat="server" Text="Submit" />
        <br />
        <br />
        <asp:Label ID="UpdateStatus" Visible =false runat="server" Text="Update Successful" Font-Bold="True"></asp:Label>
        <br />
        
        <br />
        <asp:HyperLink ID="Backtologin" NavigateUrl ="~/Presentation/UserLogin.aspx" Visible = false runat="server">Login</asp:HyperLink>
    </form>


</asp:Content>
